<template>
  <!-- 法拍房待交件 -->
  <div class="box clearfix">
    <section class="section_wrap">
      <FunctionalAreas :orderNumber="orderNumber"></FunctionalAreas>
      <div class="title_sub prduct_bod_r">产品说明：</div>
      <ProductDescriptionToo></ProductDescriptionToo>
    </section>

    <section class="section_wrap">
      <div class="title_sub infro_bod_l">信息查看：</div>
      <div class="state">状态：待交件</div>
      <EnterInfor></EnterInfor>
    </section>

    <section class="section_wrap" v-show="showFillAnIn">
      <div class="title_sub infro_bod_l">补登信息：</div>
      <FillAnInFormation
        @showbox="toshow"
        :orderNumber="orderNumber"
      ></FillAnInFormation>
    </section>

    <section class="section_wrap">
      <div class="title_sub upload_bod_l">附件管理：</div>
      <!-- 上传组件 -->
      <Upload class="uploadStyle" ref="Uploade" :isNew="isNew"></Upload>
    </section>

    <section class="section_wrap">
      <div class="title_sub infro_bod_l">审批流：</div>
      <ApprovalText :orderNumber="orderNumber"></ApprovalText>
      <div class="title_sub infro_bod_l">操作记录：</div>
      <OperationRecords :orderNumber="orderNumber"></OperationRecords>
    </section>
  </div>
</template>

<script>
import FunctionalAreas from "../../components/fapai/FunctionalAreas";
import ApprovalText from "../../components/fapai/ApprovalText";
import Upload from "../../components/fapai/Upload";
import EnterInfor from "../../components/fapai/EnterInfor";

import ProductDescriptionToo from "../../components/business/ProductDescriptionToo";
import FillAnInFormation from "../../components/business/FillAnInFormation";
import OperationRecords from "../../components/fapai/OperationRecords";
export default {
  name: "ToSubmitFapai",
  components: {
    FunctionalAreas,
    ProductDescriptionToo,
    EnterInfor,
    ApprovalText,
    FillAnInFormation,
    Upload,
    OperationRecords
  },
  data() {
    return {
      delivery: true,
      isNew: false,
      orderNumber: "",
      showButton: false,
      showFillAnIn: true
    };
  },
  created() {
    this.orderNumber = sessionStorage.getItem("orderNumber");
  },
  methods: {
    toshow(msg) {
      this.showFillAnIn = msg;
    }
  }
};
</script>

<style scoped type="less">
.text {
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  margin-top: 20px;
  text-indent: 2em;
}
.state {
  font-size: 22px;
  font-weight: bold;
  float: right;
  margin-top: -30px;
  margin-right: 3%;
}

.uploadStyle {
  position: relative;
  margin-top: 20px;
}
.information {
  border-bottom: 1px solid #000;
}
</style>
